<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

        <script>

            var  array = ["zs", "ls", "wu", "zl"]

            array.aa = "aa";
            array["aa"] = "aa";


            for (var i = 0; i < array.length; i++) {
                console.log(array[i])
            }

            // for (  item in array){
            //     console.log(item + "---" + array[item])
            // }




        </script>
</body>
</html>
